services.gitlab-runner.services.<name>.environmentVariables

Custom environment variables injected to build environment. For secrets you can use registrationConfigFile with RUNNER_ENV variable set.

Type
attribute set of string
Default
{ }
Example
{
  NAME = "value";
}
Declared
<nixpkgs/nixos/modules/services/continuous-integration/gitlab-runner/runner.nix>